package cn.powertime.evaluation.service.impl;

import cn.powertime.evaluation.entity.CpsUserLearningRecord;
import cn.powertime.evaluation.mapper.CpsUserLearningRecordMapper;
import cn.powertime.evaluation.service.CpsUserLearningRecordService;
import cn.powertime.evaluation.vo.AppUSerRecord;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 用户学习记录表 服务实现类
 * </p>
 *
 * @author liqi
 * @since 2019-09-23
 */
@Service
public class CpsUserLearningRecordServiceImpl extends ServiceImpl<CpsUserLearningRecordMapper, CpsUserLearningRecord> implements CpsUserLearningRecordService {

    @Autowired
    private CpsUserLearningRecordMapper cpsUserLearningRecordMapper;

    @Override
    public List<CpsUserLearningRecord> selectByUserId(AppUSerRecord vo) {
        return cpsUserLearningRecordMapper.selectByUserIdRecord(vo);
    }
}
